package com.yu.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yu.crm.domain.pojo.CrmSearchPoint;
import com.yu.crm.domain.pojo.CrmSearchRoute;
import com.yxzz.common.BaseMapper;

import java.util.List;

/**
 * <p>
 * 巡更路线 Mapper 接口
 * </p>
 *
 * @author neo
 * @since 2020-07-22
 */
public interface CrmSearchRouteMapper extends BaseMapper<CrmSearchRoute> {
    /**
     * 查询分页信息
     * @param page
     * @return
     */
    IPage<CrmSearchRoute>  pageAll(Page<CrmSearchRoute> page);


    List<CrmSearchPoint> getSearchPointByRouteId(Long routeId);

}
